-
Home
-
Shopz GraphQL API for WooCommerce
-
2.1.1
-
Code
-
Classes
- ProductsFactory
Total Complexity |
31 |
Dependencies |
2 |
Dependents |
4 |
Total lines |
208 |
Lines of code |
101 |
Logical lines of code |
60 |
Comment lines |
61 |
Methods |
15 |
Properties |
1 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
onlyDeals() |
S |
56 |
6 |
19 |
sort_by() |
S |
60 |
3 |
14 |
get_products() |
S |
66 |
3 |
8 |
limit() |
S |
70 |
2 |
6 |
offset() |
S |
70 |
2 |
6 |
order() |
S |
70 |
2 |
6 |
on_sale() |
S |
70 |
2 |
6 |
search_term() |
S |
70 |
2 |
6 |
category() |
S |
68 |
2 |
7 |
onlyInStock() |
S |
69 |
2 |
7 |
get_product() |
S |
80 |
1 |
3 |
onlyPublished() |
S |
76 |
1 |
4 |
onlyOnSale() |
S |
81 |
1 |
3 |
onlyFeatured() |
S |
81 |
1 |
3 |
get_category_slug() |
S |
80 |
1 |
3 |